#ifndef CAMERAMANAGE_H
#define CAMERAMANAGE_H

#include"Camera.h"

/*************************************************************************************/

class CameraManager
{
private:
	int nempty;
public:
     Camera * allcameras;
     CameraManager()
     {
		allcameras = new Camera[5];	//inicjalizacja 5 camer
		allcameras[0] = Camera(20.0f, 200.0f, 250.0f, 0.0f, 300.0f, 30.0f, 1.0f);
		allcameras[1] = Camera(-40.0f, -40.0f, 300.0f, 0.0f, 180.0f, 30.0f, 0.05f);
		allcameras[2] = Camera(-300.0f, 200.0f, 200.0f, 40.0f, 150.0f, 50.0f, 0.7f);
		allcameras[3] = Camera(-1000.0f, -200.0f, 400.0f, 120.0f, 300.0f, 75.0f, 1.0f);
		allcameras[4] = Camera(1000.0f, 200.0f, 250.0f, 90.0f, 340.0f, 60.0f, 0.3f);
		//nempty = 5;
     }
	void MemTest();		//jeszcze nic - jesli brak pamieci to powieksz tablice camer
	bool IsEmpty();		//czy wolne miejsce na camery
	void ProceedCameras();	//rysuj camery
};

#endif